package com.gccloud.design.feign;

import com.gccloud.design.entity.DicStationUserConfEntity;
import com.gccloud.feign.filter.FeignRequestFilter;
import com.gccloud.starter.common.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;


/**
 *基础数据中心feign
 * @author 冯海琴
 */
@FeignClient(name = "ofm-base",path = "/baseCenter",contextId = "stationConf",configuration = {FeignRequestFilter.class})
public interface StationClient {
    /**
     * 根据工位id查询人员信息
     */
    @GetMapping(value = "/stationConf/getStationUserConf")
    R<List<DicStationUserConfEntity>> getStationUserConfList(@RequestParam("stationId")String stationId);



}
